https://toxigon.com/securing-javascript-code-from-injection-attacks
Securing JavaScript Code from Injection Attacks