Parsing SVG through childNodes instead of through children