https://www.humansecurity.com/learn/blog/client-side-battle-against-javascript-attacks