Use `childNodes` instead of `children` because it is cross-browser.