app.js syntax corrected