Converting to CoffeeScript