title: Find and call javascript functions in global scope
body: <p>I have registered some javascript functions in the global scope:</p>
  
  <pre><code>function Test1() {}
  function Test2() {}
  </code></pre>
  
  <p>Now I want to run all javascript functions whose name starts with 'Test', how to do it?</p>
  
  <p>I want to prevent saving each functions into a variable because it does not scale. Nor to push them to a queue and execute them later, since people need to remember adding their functions to the queue when they write the test and I don't want that. </p>