Updated with working minified code

Apparently scriptcompressor.com doesn't always do the job correctly