First go at CoffeeScript coding in this app