Add nodeName and nodeType fields to DOM metatables