anchor.diff:          var checkbox = jQuery('#assignment_require_signup');
   
           if (checkbox.is(':checked')) {
  -          addDueDateTableElement('signup', 0, <%= due_date(@assignment, 'signup').to_json.html_safe %>.due_date);
  -            addDueDateTableElement('drop_topic', 0, <%= due_date(@assignment, 'drop_topic').to_json.html_safe %>.due_date);
  +          addDueDateTableElement('signup', 0, <%= due_date(@assignment, 'signup').to_json.html_safe %>);
  +            addDueDateTableElement('drop_topic', 0, <%= due_date(@assignment, 'drop_topic').to_json.html_safe %>);
           } else {
             if (<%= @assignment.has_topics? %>) {
               if (confirm(msg)) {
  
positive.code:   var msg = 'Warning! Unchecking this box will remove all topics and the reservations of everyone who is sign up for them';
  
    if (jQuery('#assignment_require_signup').is(':checked')) {
      addDueDateTableElement('signup', 0, <%= due_date(@assignment, 'signup').to_json.html_safe %>.due_date);
      addDueDateTableElement('drop_topic', 0, <%= due_date(@assignment, 'drop_topic').to_json.html_safe %>.due_date)
    } else {
      if (confirm(msg)) {
        removeDueDateTableElement('signup', 0);
  
negative.code: 
    if (jQuery('#assignment_team_assignment').is(':checked')) {
      jQuery('#assignment_team_count_field').removeAttr('hidden');
      addDueDateTableElement('team_formation', 0, <%= due_date(@assignment, 'team_formation').to_json.html_safe %>)
    } else {
      if (confirm(msg)) {
        jQuery('#assignment_team_count_field').attr('hidden', true);
  