Tweaks to app.js