2 ms·You should consider putting the JS in an iframe using srcdoc so that you can sandbox it from XSS attacks.by tarr11 9y agoYou should consider putting the JS in an iframe using srcdoc so that you can sandbox it from XSS attacks.