anchor.diff:  
   <script type="text/javascript">
   (function($) {
  +    // Are we upgrading a list?
  +    var upgrading = false;
  +    <c:if test="${empty buildNewBag}">upgrading = true;</c:if>
  +
       // Show loading sign.
       var loading = $('#ctxHelpDiv');
       loading.show().find('#ctxHelpTxt').html('Please wait &hellip;');
  
positive.code:         loading.hide();
  
          // Show the blocks.
          $('#chooseName, #additionalMatches').show();
  
          // Focus on the input field and listen for Enter presses.
          $('#newBagName').focus().keypress(function(evt) {
  
negative.code:         // Inject.
          $('#matchIDs').val(selected.join(' '));
          // Confirm.
          if (upgrading) { // do not check list name
            $('#bagUploadConfirmForm').submit();
          } else {
            validateBagName('bagUploadConfirmForm');
          }
        };
  
        // Opts for the component-400.
  