title: Is this a good structure for my jQuery scripts?
body: <p>I want to keep my scripts organized in one .js file for all my site (I have a mess right now), something like namespaces and classes in C#... </p>
  
  <pre><code>(function ($) {
  
      //private variables
      $.divref = $("#divReference");
  
      //Namespaces
      window.MySite = {};
      window.MySite.Home = {};
      window.MySite.Contact = {};
  
      //Public function / method
      window.MySite.Home.Init = function(params){
          alert("Init");
  
          MySite.Home.PrivateFunction();
  
          $.divref.click(function(){
              alert("click");
          });
      };
  
      //private function / method
      MySite.Home.PrivateFunction = function(){
          alert("Private");
      };
  
  })(jQuery); 
  </code></pre>
  
  <p>Is this an idiomatic layout in jQuery and JScript?</p>