Test for bug 9001: Javascript stops running before replacement page data arrives.

WAIT