small update to js
Merge branch 'master' into gh-pages