rem: var matches = h.innerHTML.match(anchor); if (matches) h.set('id', matches[1]); h.innerHTML = h.innerHTML.replace(anchor, ''); }); 
add: var matches = h.innerHTML.match(anchor); if (matches) h.set('id', matches[1]); h.innerHTML = h.innerHTML.replace(anchor, ''); }); 
context: 		temp.getElements('h1, h2, h3, h4, h5, h6').each(function(h){			var matches = h.innerHTML.match(anchor);			if (matches) h.set('id', matches[1]);			h.innerHTML = h.innerHTML.replace(anchor, '');		});
meta: 6317	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6317/bc740cadb1a3e0cfcab41f3c23ce23ddd071cd6a/docs.js/clean/Docs/assets/docs.js