Single page todo app: the code is from the tutorial in Backbone Fundamentals by Addy Osmani.