Adding @Mishoo UglifyJS version of the code.

Tested to be working, please let me know if it is not.