Fixed DomElement.hx to allow Elements to be passed in addition to strings as before