title: Javascript, render objects in a tree list
body: <p>I try to build a small tool for get the structure of my js running in a browser.</p>
  
  <p>I create a gits for that: <a href="https://gist.github.com/M3kH/6615963" rel="nofollow">https://gist.github.com/M3kH/6615963</a></p>
  
  <p>But is no way to make work on the browser without crashes.</p>
  
  <ul>
  <li><p>What you think I'm doing wrong?</p></li>
  <li><p>Did you think Async way would prevent browser crashes? </p></li>
  <li><p>How can I get the property of a element is a <strong>function</strong>? I need to
  executed it?</p></li>
  <li><p>I have some cases like in jquery plugins where looks like:</p>
  
  <pre><code>;(function($, window, document, undefined) {
      $.fn.namePlugin = function(options) {
          options = $.extend( {}, $.fn.namePlugin.options,options );
          return this.each(function(){
              // This is the builder
              $.fn.namePlugin.options.functionA();
          });
      }
      // Here where I fill all the functions
      $.fn.namePlugin.options = { functionA: function(){} };
  });
  </code></pre>
  
  <p>Did you think I have some ways for get the return function as a loop?</p></li>
  </ul>
  
  <p>I would like to build an utility for get the list of the function, for document it in a second moment.</p>
  
  <p>Thanks in advance,
  Mauro.</p>