Prevent window.resize when target is not window

Prevent handleWindowResize if the target is not window. Sometimes events named "resize" do bubble up (i.e. from jquery.ui elements). This causes handleWindowResize to be executed which shouldn't be.
Looks good. Just missing a JSDoc definition for the new param:
```
@param {object} evt - Javascript event object
```