Optimized HTML5 port (obfuscate, minify with UglifyJS2)