optimization of 'removeEventListener' (refs #491)