Fix for recent CoffeeScript versions

Backwards compatible with older versions of coffee-script.