Looks like some browsers don't support `.children` on svg nodes

https://developer.mozilla.org/en-US/docs/Web/API/ParentNode.children