Adapt NamedNodeMap patch for Firefox which now calls it MozNamedAttrMap (fixes #22)