added some hacky js
Merge branch 'pages' into gh-pages