title: Manually calling document.ready
body: <p>Is there a way to force the event <code>document.ready</code> to fire through Javascript? The new Rails 4 default of using <a href="https://github.com/rails/turbolinks/" rel="nofollow noreferrer">turbo links</a> by default kills this event from firing when switching pages. This causes problems with more 'traditional' jQuery code that is wrapped in <code>$(function(){});</code>. </p>
  
  <p>I've taken a look around and don't see any way of making this event fire through code and most answers on here offer other work-arounds.</p>
  
  <p>So is it even possible to make document.ready fire through regular Javascript code?</p>