changed innderHTML to nodeValue, should be a significant speedup.