Update app.coffee

Add some comments to make it clearer what it actually does.