Convert CoffeeScript to JavaScript

5