fixed error in app.js