anchor.diff:        });
   
         var info = $('#no_annotation_categories_info');
  -      if (info.size()) {
  +      if (info.length) {
           info.hide();
         }
       }
  
positive.code:   function add_annotation_prompt(path) {
      var annotation_text = $('#add_annotation_text #annotation_text_content');
  
      if (annotation_text.size()) {
        annotation_text.select();
        annotation_text.focus();
      } else {
  
negative.code:   function add_annotation_category(path) {
      var category_prompt = $('#add_annotation_category_prompt');
  
      if (category_prompt.length) {
        category_prompt.select();
        category_prompt.focus();
      } else {
  