code: function() {
  
  			this.input       = this.$("#new-todo");
  			this.allCheckbox = this.$("#toggle-all")[0];
  
  			window.app.Todos.on('add',   this.addOne, this);
  			window.app.Todos.on('reset', this.addAll, this);
  			window.app.Todos.on('all',   this.render, this);
  
  			this.$footer = $('#footer');
  			this.$main   = $('#main');
  
  			window.app.Todos.fetch();
  		}
docs: At initialization we bind to the relevant events on the `Todos` collection, when items are added or changed. Kick things off by loading any preexisting todos that might be saved in *localStorage*.