Don't bind to `$`; Pass `window` into the IIFE
Merge pull request #1 from ljharb/patch-1

Don't bind to `$`; Pass `window` into the IIFE

Awesome! Much appreciated