title: Loading ajax app with jsdom
body: <p>I'm looking for a solution to bootstrap a client side app (written in Backbone.js) on the server, so that I can serve correct content to crawlers and non-js consumers.</p>
  
  <p>I've been playing around with jsdom &amp; nodejs in an attempt to bootstrap the app, and can get it as far as loading in the basic template content, but the app appears to never start.</p>
  
  <p>I've tried 2 different solutions to make sure that I have all the dependencies necessary and the app is loading correctly:</p>
  
  <ol>
  <li>I tried using jsdom.env() with all the scripts usually included inline.</li>
  <li>I tried using jsdom.jsdom() and making sure that FetchExternalResources, ProcessExternalResources, and MutationEvents were all correct and on.</li>
  </ol>
  
  <p>Neither seem to fire the window.onload event though. I'm wondering if jsdom possibly doesn't fire this, or maybe calls it's callback after it would have normally been fired?</p>
  
  <p>Is this a task that is possible in jsdom?</p>