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