Remove an event listener after firing once or any number of times
Consider using event.currentTarget instead of event.target, since your handlers are probably bound to an ancestor element, not the current element.