Switched from JavaScript to CoffeeScript