Add compatibility with jQuery 2.0.

jQuery 2.0 listens for the `onload` event when performing AJAX requests.