Moving scripts to js
Merge branch 'master' into gh-pages