moved around <script> tags
Merge branch 'master' into gh-pages