fixed compilation error in app.js