This is the code for the O'Reilly book: Building Node Applications with MongoDB and Backbone