code: function(){
        var data = {
          title: $('#new_item').val(),
          priority: todo.selected_priority,
          deadline: todo.create_deadline($('#due_in').val())
        }
        if (data.title == ''){
          return
        }
        $('#new_item').val('');
        todo.push_item(data); // Push data to CloudMine
      }
docs: /*
  create_item
  
  Sets up and validates variables for a new to-do item, then passes the data to todo.push_item. Gets the data from the input elements in the DOM