Workaround for NamedNodeMap in FF