title: passing a default argument to a browserify module
body: <p>I'm refactoring a javascript codebase and am implementing, but I'm new to node. I might run into some code like this:</p>
  
  <p><strong>foo.js</strong></p>
  
  <pre><code>var foo = {};
  foo.bar = function(baz) {
      $('body').append(baz)
  }
  </code></pre>
  
  <p>which i would then refactor into the following:</p>
  
  <p><strong>foo.js</strong></p>
  
  <pre><code>var $ = require('jquery')(window);
  var foo = {};
  foo.bar = require('./bar');
  </code></pre>
  
  <p><strong>bar.js</strong></p>
  
  <pre><code>module.exports = bar = function(baz) {
      $('body').append(baz);
  }
  </code></pre>
  
  <p>What's the correct way to pass the jQuery object from foo.js to bar.js without interfering with the baz parameter when foo.bar(baz) is called?</p>