converted app.js to coffee
converted app.js to coffee