title: More information on jQuery snippet
body: <pre><code>var VarHere;
  
  (function (VarHere) {
      // Code here    
      var SomeView = Backbone.View.extend({});
  
      $(function () {
          VarHere.SomeController = new SomeView({
              el: $someContainer
          });
      });
  })(VarHere || (VarHere = {}));
  </code></pre>
  
  <p>What is going on in this snippet? I've seen it used in some BackBone js implementations.</p>
  
  <p>I know what the stuff inside the jQuery ready block does, and basically sets up VarHere, but what is the (function(VarHere) { and closing part all about? What is the significance of it?</p>