Tidy up the js warning
Merge branch 'master' into gh-pages