title: Enable chainability in a Javascript object like jQuery
body: <p>I've a question about chainability, look at this code:</p>
  
  <pre><code>document.getElementById('menu').fadeIn(200, function(){ //callback });
  </code></pre>
  
  <p>How can i make this without jQuery? </p>
  
  <p>Note: the name <em>fadeIn()</em> and <em>fadeOut()</em> are for example, there are not the jQuery functions.</p>