app.js minor cleanup