moves scripts to page end for speed
Merge branch 'master' into gh-pages