title: jQuery popstate event handling in firefox
body: <p>I have got something like this:</p>
  
  <pre><code>jQuery(document).ready(function () {
      jQuery(window).bind('popstate', function () { do sth;});
  });
  </code></pre>
  
  <p>It works like a charm in chrome, but doesn't work in FF (event handler is not fired). When I take this code outside the ready block, the event can be handled, but I don't like it being outside ready block.</p>
  
  <p>Do you know any solutions?
  Cheers.</p>