Added platform define for _DOMElement