clean up script.js
Merge branch 'master' into gh-pages

* master:
  clean up script.js