Element traversal children polyfill