syntax issue with app.js