anchor.diff:  var $importerResults = $('.importer-results');
  +var resetUploaderForm = function() { $('#importer').find('form').addClass('no-file-selected').find('.file-upload-name').empty(); };
   
   $importerResults.find('.js-import-failed').remove();
   
  
positive.code:         <% end %>
        '</ul>' +
      '</div>');
    $('#importer').addClass('has-errors').find('form').addClass('no-file-selected').find('.file-upload-name').empty();
  <% end %>
  
  <% if @json_document_importer.failed_schema_validation.any? %>
  
negative.code:       '</ul>' +
      '</div>'
    );
    $('#importer').addClass('has-errors');
    resetUploaderForm();
  <% end %>
  
  // empty the field where format errors would occur, regardless of the result here, incase a previous error is shown
  