some minor changes in app.js