Harden JavaScript