jQuery 2.0 renamed onreadystatechange to onload.

In jQuery 2.0 the onreadystatechange method has been dropped in favour of onload, so for compatibility with the upcoming 2.0 and with previous versions of jQuery we should mock both calls accordingly.