Converted app.js to app.coffee