Cartmodel to CoffeeScript