added some coffeescript awesomeness