Fixed insert html, was iterating through children, and not childNodes.