anchor.diff:  				try {
   					// get tools
   					var items = "";
  -					for (var i = 0; i < data.length; ++i) {
  +					for (var i = 0; data != null && i < data.length; ++i) {
   						if (i != 0) {
   							items += "&nbsp;&nbsp;|&nbsp;&nbsp;";
   						}
  
positive.code: 					//do nothing
  					alert(e);
  				}
  			});
  }
  
  $(document).ready(function() {
  
negative.code: 					//do nothing
  					alert(e);
  				}
  			}, 'json');
  }
  
  function getComponent(id, label, url, name, description) {
  