Fixed insert html, was iterating through children, and not childNodes.
Merge branch '1.x' into gh-pages