Do not rely on live .children NodeList.

Makes domify work with polymer ShadowDOM polyfill.