Optimized HTML5 port (RLE compression, obfuscate, minfy with UglifyJS2)