Fixed error in app.js