Why `DOMElement`? This should be `Element`. At least WebStorm IDE thinks so.