Make app.js pass jslint
Tweaks