Better Javascirpt Minification

  - Tweaked UglifyJS settings
  - Running tests on minified version
Merge branch 'master' into gh-pages