CoffeeJS to JS