Convert app to CoffeeScript