Replaces js.html.Node to js.html.Element.