Add check if DOMElement is a jQuery object.