Slight cleanups

Closing over window is redundant since the whole lib is closing window.

`[].slice.call` is shorter than `Array.prototype.slice.call`. :)