Minor cleanup of app.js