Read the following blog post for details: http://taurenmills.wordpress.com/2011/10/08/backbone-js-with-class-properties/
Run this code using node.js by doing the following:
npm install coffee-script -g npm install backbone npm install underscore coffee Animal.coffee node sample.js
Alternatively, remove the first two lines and run it in a browser with underscore and backbone loaded.