anchor.diff:  
           function selectOption(target, val) {
               $(target).children('option').each(function() {
  -                alert('current value : ' + this.value + " and val is " + val + "  ")
                   if (this.value == val) {
  -                    alert('match found')
                       $(this).attr('selected', 'selected')
  -                    alert("test " + $(this).attr('selected'))
                   }
               })
  -            alert(getHTML(target))
           }
   
       });
  
positive.code:         // Select and Option handler
          $('select').on('change', function(eventObject) {
              var target = eventObject.target;
              oldString = getHTML(target).replace(/"/g, '\'')
              var selected = this.value
              removeAttributeSelected(target);
              selectOption(target, selected);
              newString = getHTML(target).replace(/"/g, '\'');
              xml = editor.getValue()
              var oldArray = oldString.split('\n');
  
negative.code:             }
              editor.setValue(xml)
              editor.refresh()
              $(this).val(value)
          })
  
          function getHTML(target) {
  