Tweak and recompile JS
Merge branch 'master' into gh-pages