reformatted app.js
Merge branch 'master' into gh-pages