Change HTMLNode to DOMNode