rem: name = name.split("").filter(function (el) { return chars.indexOf(el) != -1; }).join(""); 
add: lines = aLines.filter(function (line) { return /^\s*<input/i.test(line); }); 
context:   name = name.split("").filter(function (el) {                                 return chars.indexOf(el) != -1;                               }).join("");
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5828ec64ba17fe405f0d5504ddc37c9c1c1c3e75/nsSearchService.js/clean/browser/components/search/nsSearchService.js