Replace with `var target = $(e.target);` and remove the lookups from the `if` clause?