the HtmlElement constructor accepts a DOM element instead of a jQuery element as argument