Updated the app.js