cleaned up app.coffee