Remove usage of tagName/nodeName