Updated the app.js file