fixed naming bug in app.js