Fix CoffeeScript bug