Add iframe onload handling to jsonp tests.

`onload` handling required for the `drain` event to fire. We need this
for some tests that look at socket closing.
Merge pull request #289 from rase-/fix/jsonp-test

Add iframe onload handling to jsonp tests.