Covert app.js to coffee