Improve app

Improved app by using CoffeeScript