Remove some commented code from DOMevent func.