code: function disableScript( elem ) {
  	elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type;
  	return elem;
  }
docs: Replace/restore the type attribute of script elements for safe DOM manipulation