In general require modules should return something and not have immediate side effects.  In this case, it might be a good idea to return an object with all the vars in it (or all the public ones anyway), including an init function instead of calling $(document).ready().  This makes the code much more reusable, as the caller can monkey patch the object if necessary, or delay loading, or whatever.  The module would then be used in the require function, something like this:

```js
require(['jquery', 'browse'], function($, browse) { $(document).ready(browse.init); }
```