title: How to hook the DOM loaded event?
body: <p>Can someone point me in the direction to hook the DOM loaded event? </p>
  
  <p>Basically, i want to display a loader while the dom is loading (I dont mean Ajax requests- the first time a user hits a page) ? </p>
  
  <p>Thanks all in advance</p>