add forEach for NamedNodeMap