refactor javascript
Merge branch 'gh-pages' of github.com:inchworms/inchworms into gh-pages