Based on Addy Osmani Backbone.js-Todo version