adding the app.js changes