Same modifications to CoffeeScript file (untested)