JS: fix josh.js submodule for gh-pages compatibility.
Merge branch 'master' into gh-pages