Called internal jQuery resize event dependency with window in stead of this

The resize plugin does not work in combination with browserify. The cause of this can be found in the included jQuery resize event dependency, which calls itself using this, where it actually needs window (and thereby assumes this === window). However, in browserify, this is mapped to module.exports, which is an empty object.

For more details, see: https://github.com/substack/node-browserify/issues/372