Code correction in app.js