Actually switch state to 'interactive' and workaround bug 688580 for Gecko

This patch workarounds issue #30 with `setTimeout()` and actually set `interactive` to `gReadyState`.