Update DOMElement.hx

Added missing constructor
Update DOMElement.hx

Added type constraints to DomElement
Update DOMElement.hx

Fixed type constraint - Was too permissive.
Merge pull request #1 from Richard-Walton/master

Update DomElement with constructor