anchor.diff:          }
         }
       }).done(function() {
  -      hideSpinner()
  +      hideSpinner();
         $.flash.success({ text: 'Request for comments sent!' })
  -    })
  -
  -    showSpinner($('#request-for-comments'))
  -    // hide button until next submission is created
  -    $('#request-for-comments').toggle(false);
  +    }).error(ajaxError);
  +
  +    $('#comment-modal').modal('hide');
     }
   
       var initializeCodePilot = function() {
  
positive.code:           filename: filename,
            id: fileId
        };
    }
  
    var isActiveFileRenderable = function() {
      return 'renderable' in active_frame.data();
  
negative.code:   var initializeRequestForComments = function () {
      $('#requestCommentsButton').on('click', function() {
        $('#comment-modal').modal('show');
      });
  
      $('#askForCommentsButton').on('click', requestComments);
    };
  
    var isActiveFileBinary = function() {
        return 'binary' in active_frame.data();
  