ryanve/response.js — comment on commit b0816c26f53c371ac079c9cacd7bb673f79449c1
File:  line 0
By ryanve:

I pretty sure that it's better use `window.document` in the invocation at the bottom b/c using just `document` there lists it a as global on jslint.

But I'm still debating between:

```javascript
window.Response = (function($, window, document, undefined) {
// ...
}(jQuery, window, window.document));
```
or simply the technique that jQuery itself uses:

```javascript
window.Response = (function($, window, undefined) {
// ...
}(jQuery, window));
```

We only need to reference `document` once inside (when we cache the `$(document)` selector) so maybe the latter is better. Either works.