revert dom element event listeners