anchor.diff:    <% if @assignment.require_signup? %>
       <script>
         jQuery(document).ready(function () {
  -        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 %>)
         });
       </script>
     <% end %>
  
positive.code: 
          if (checkbox.is(':checked')) {
            team_count_field.removeAttr('hidden');
              addDueDateTableElement('team_formation', 0, <%= due_date(@assignment, 'team_formation').to_json.html_safe %>.due_date)
          } else {
            if (<%= @assignment.has_teams?%>) {
              if (confirm(msg)) {
  
negative.code:         var checkbox = jQuery('#assignment_require_signup');
  
          if (checkbox.is(':checked')) {
            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)) {
  