Convert CoffeeScript to JavaScript

7