code: function(data, unique_id){
        if (unique_id == undefined){        // The unique_id will be the key for this object in CloudMine's database.
          unique_id = new Date().getTime(); // When creating objects with CloudMine you get to specify their key yourself.
          data = {                          // In our case, we'll use javascript's built-in new Date().getTime() to get an ID unique for the moment
            text: data.title,               // this item was created if a unique_id hasn't been specified (which means we're making a new item
            priority: data.priority,        // and not updating an existing one).
            picture: null,
            __class__: 'TBTodoItem',
            deadline: {
              __class__: 'datetime',
              timestamp: data.deadline
            },
            location: null,
            __id__: unique_id,
            done: false
          }
          callback = function(response){ todo.draw_item(data) }
        } else {
          callback = function() {}
        }
  
        // Make the CloudNine library call to send the data to the cloud, along with the unique_id
  
        cm.update(unique_id, data)
          .on('success', function(){
            todo.draw_item(data);
          })
          .on('unauthorized', function(data){
            todo.error('list', data.errors[0]);
          })
          .on('notfound', function(data){
            todo.error('list', data.errors[0]);
          });
      }
docs: /*
  push_item
  
  Called by todo.create_item and todo.toggle_item. Pushes item data to the server (this can be creating it or updating it).
  If it's creating the item, chain on a function to draw that item and put it in the UI when the call is successful.