Updates JavaScript. Compiles js and css.
Sets up gh-pages as production version using minified assets.
Updates publish script.
Merge branch 'master' into gh-pages