moved app.js to coffeescript