title: What do returning curly braces mean in javascript (ex. return { init : init} )
body: <p>I'm looking over this code:</p>
  
  <pre><code>$(function(){
      var $sidescroll = (function() {
          init = function() {
              //STUFF
          };
          return { init : init };    //What does this do?
      })();
      $sidescroll.init();
  });
  </code></pre>
  
  <p>What does the return statement mean?  I haven't seen curly braces in a return statement before, and am not even sure what 'init : init'  does.</p>