Fix attaching runnerWindow in firefox.
Fix spelling.
Merge pull request #705 from remy/fix/runner-window-undefined-679

Fix attaching runnerWindow in firefox.