title: jQuery: Why use document.ready if external JS at bottom of page?
body: <p>I am including all of my JS as external files that are loaded at the very bottom of the page. Within these files, I have several methods defined like so, which I call from the ready event:</p>
  
  <pre><code>var SomeNamepsace = {};
  
  SomeNamepsace.firstMethod = function () {
      // do something
  };
  
  SomeNamepsace.secondMethod = function () {
      // do something else
  };
  
  $(document).ready(function () {
      SomeNamepsace.firstMethod();
      SomeNamepsace.secondMethod();
  });
  </code></pre>
  
  <p>However, when I remove the ready function and call the methods straight-up, everything works just the same, but executes significantly faster—almost a whole second faster on a pretty basic file! Since the document should be loaded at this point (as all the markup comes before the script tags), is there any good reason to still be using the ready event?</p>