Isolate code from other scripts (namespace)
<p>I'm doing it like this:</p>

<pre><code>;(function($, window, document, undefined){

  var MyNamespace= MyNamespace || {};

  $.MyNamespace.someMethod = function(){
    // code
  };

  $.MyNamespace.someOtherMethod = function(){
    // code
  };

  $.MyNamespace.someProperty = {};

  // etc.


}(jQuery));
</code></pre>

<p>is it ok?</p>
