title: Control order of AJAX requests
body: <p>Can I make an AJAX request in a Chrome extension to run only after all the other AJAX requests on the page have finished? I have a function that modifies the page elements, but it can only run properly after all other JS have run.</p>
  
  <p>Right now, I am using <code>$(document).click(func);</code> to invoke my function, but I think that there would be a better way for this.</p>