Merge unnecessary event listeners