Update DOMElement.hx

Fixed type constraint - Was too permissive.