coffee-script version of the module