minor app.js changes