title: How to implement a new layer over JavaScript framework?
body: <p>What's the best way to implement a new layer over JavaScript framework (jQuery, Prototype, ...)?</p>
  
  <pre><code>+------------+
  | JavaScript |
  +------------+
  |   jQuery   |
  +------------+
  |  MyLibrary |
  +------------+
  </code></pre>
  
  <p>For example...</p>
  
  <pre><code>MyLibrary = MyLibrary || {};
  
  MyLibrary.animate = function(params) {
     // some code
  }
  
  MyLibrary.insert = function(params) {
     // some code
  }
  </code></pre>
  
  <p>Execution</p>
  
  <pre><code>MyLibrary.animate(params);
  </code></pre>
  
  <p>Thanks for reply!</p>