PHP sleep function accepts time in seconds, not milliseconds; the previous
value was starving the PHP FPM process pool.
(cherry-picked from b5074944b0)
The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.
(cherry-picked from 854d242db4)