title: Can I get a jQuery Deferred on document.ready()?
body: <p>Right after my script is loaded I am making an Ajax request to get some translations. This should always return after the document is ready since I am loading my scripts at the bottom of the page, but I am still curious if it would be possible to get a <a href="http://api.jquery.com/category/deferred-object/" rel="noreferrer">Deferred Object</a> on the document ready state.</p>
  
  <p>That way it would be possible to make sure that both, the document is ready and the Ajax call returned successfully before doing anything else, e.g. like this:</p>
  
  <pre><code>$.when( $.ajax('translations'), document.ready())
  .then(function(){
      // Start doing stuff here
  });
  </code></pre>