title: What is the very first event fired by an HTML document?
body: <p>I'm curious which event is fired first when using jQuery and jQuery Mobile.</p>
  
  <p>Oddly enough, the first console output I get is <code>pagebeforecreate</code> then <code>document ready</code> and then <code>onload</code>.</p>
  
  <p>I would like to know if any other events are being fired before these ones.</p>
  
  <p><a href="http://jsfiddle.net/yYGYe/2/" rel="noreferrer">http://jsfiddle.net/yYGYe/2/</a></p>
  
  <pre><code>$('html').bind('pagebeforecreate',function(event) {
      console.log("pagebeforecreate");
  });
  
  $(document).ready(function() {
      console.log("document ready");
  });
  
  window.onload = function(){
      console.log("onload");
  };
  </code></pre>