Update app.js file