anchor.diff:  
     var createSubmission = function(initiator, filter, callback) {
       showSpinner(initiator);
  -
  -      var annotations_arr = [];
  -
  -      $('.editor').each(function(index, element) {
  -          var editor = ace.edit(element);
  -          var cleaned_annotations = editor.getSession().getAnnotations();
  -          for(var i = cleaned_annotations.length-1; i>=0; --i){
  -              cleaned_annotations[i].text = cleaned_annotations[i].text.replace(cleaned_annotations[i].username + ": ", "");
  -          }
  -          annotations_arr = annotations_arr.concat(editor.getSession().getAnnotations());
  -      });
  -
       var jqxhr = ajax({
         data: {
           submission: {
  
positive.code:       session.setUseWrapMode(true);
  
        var file_id =  $(element).data('id');
        //setAnnotations(editor, file_id);
  
        /*
         * Register event handlers
  
negative.code:           exercise_id: $('#editor').data('exercise-id'),
            files_attributes: (filter || _.identity)(collectFiles())
          },
          annotations_arr: []
        },
        dataType: 'json',
        method: 'POST',
  