title: Sleep in javascript - no setTimeout
body: <p>All those setTimeout answers here don't work!</p>
  
  <p>I just want to wait a few seconds between two functions, like this:</p>
  
  <pre><code>do_fn1();
  
  wait(5000);
  
  do_fn2();
  </code></pre>