coffee lint fixes
app.js rewritten in coffeescript