Called internal jQuery resize event dependency with window in stead of this to support browserify (see https://github.com/substack/node-browserify/issues/372)