Tidy up app.js
Merge pull request #143 from rowanhill/app-js-tidy-up

Tidy up app.js