fixed syntax error and cleaned up app.coffee