You could cache `$(e.target)` here as it's used again further down