title: Run function when XHR finished loading (jQuery)
body: <p>I'm using the push.js library with Ratchet, which loads pages using AJAX then changes history.pushState().</p>
  
  <p>I was wondering if there is any way to run a function when an XHR request has finished?</p>