anchor.diff:      $(document).on('nested:fieldRemoved', function() {
         num_steps -= 1;
         toggle_remove_link();
  +      
  +      $(".fields:visible").each(function(index, field) {
  +        var index_field = $(field).find('span.step_index');
  +        var index_form_field = $(field).find('input.step_index');
  +        index_field.text( index+1 );
  +        index_form_field.val( index+1 );
  +      });
       });
     
       $(document).on('nested:fieldAdded', function(event){
  
positive.code:     row_one.find('.' + two).parent().addClass('active');
      row_two.find('.' + one).parent().addClass('active');
    }
  </script>
  
  
negative.code:     swap_value( row_one, row_two );
      swap_duration( row_one, row_two );
      swap_step_type( row_one, row_two );
      swap_temp_hint( row_one, row_two );
      swap_duration_hint( row_one, row_two );
    }
  
    function swap_value( row_one, row_two ){
  