Added app.js changes