Calling internal jQuery resize event dependency with window in stead of this for browserify support.