syntax error fixed in app.js