anchor.diff:  
   <script type="text/javascript">
   $(function(){
  +
     var seq = 1;
     $('.add-action-btn').click(function(){
       var current = seq;
  
positive.code:         <span class="action-label">'+selected_text+'</span><br> \
          <textarea name="operations['+current+'][args][0]" type="text" class="action-args" placeholder="Target"></textarea> \
          <textarea name="operations['+current+'][args][1]" type="text" class="action-args" placeholder="Replacement"></textarea> \
        </div>';
      else if (selected_action_id == '13')
        var block = '<div class="action-item"> \
          <input type="hidden" value="'+selected_action_id+'" name="operations['+current+'][name]"> \
          <span class="action-label">'+selected_text+'</span><br> \
          <textarea name="operations['+current+'][args][0]" type="text" class="action-args" placeholder="Replacement"></textarea> \
        </div>';
      else if (selected_action_id == '14')
        var block = '<div class="action-item"> \
          <input type="hidden" value="'+selected_action_id+'" name="operations['+current+'][name]"> \
          <span class="action-label">'+selected_text+'</span><br> \
          <textarea name="operations['+current+'][args][0]" type="text" class="action-args" rows="7" cols="44" placeholder="Text to swap nouns with"></textarea> \
        </div>';
      else
        var block = '<div class="action-item"> \
          <input type="hidden" value="'+selected_action_id+'" name="operations['+current+'][name]"> \
          <span class="action-label">'+selected_text+'</span> \
          <input type="hidden" name="operations['+current+'][args][0]" type="text"> \
        </div>';
      var item = $(block)
      $('.added-actions').append(item);
    })
  })
  </script>
  
negative.code:         <input type="hidden" value="'+selected_action_id+'" name="operations['+current+'][name]"> \
          <span class="action-label">'+selected_text+'</span><br> \
          <textarea name="operations['+current+'][args][0]" type="text" class="action-args" placeholder="Text to splice with" rows="7" cols="44"></textarea> \
          <button type="button" class="remove-action-btn">Remove</button> \
        </div>';
      else if (selected_action_id == '12')
        var block = '<div class="action-item"> \
  