rem: var scripts = element.getElementsByTagName("script"); for (var i = 0; i < scripts.length; ++i) { add(scripts[i]); 
add:   if (element.childNodes.length > 0) { var scripts = element.getElementsByTagName("script"); for (var i = 0; i < scripts.length; ++i) { add(scripts[i]); } 
context: Wicket.Head.addJavascripts = function(element) {	function add(element) {		var content = Wicket.DOM.serializeNodeChildren(element);		if (content == null || content == "")			content = element.text;		Wicket.Head.addJavascript(content);			}	if (element.tagName.toLowerCase() == "script") {		add(element);	} else {		var scripts = element.getElementsByTagName("script");		for (var i = 0; i < scripts.length; ++i) {			add(scripts[i]);		}	}}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/1bf56030239913e00d0ee962d90f730efbb521c1/wicket-ajax.js/buggy/wicket/src/java/wicket/ajax/wicket-ajax.js