Make DOMUtils work with non-jQuery objects