This can be simplified to `if ( _bodyWrapper === e.target ) {`. The **target** property on DOM events always refers to the element that the event occurred to/on.