generate a static HTML page when testing under phantom/slimer
Avoids JS context issues when scripts are loaded dynamically via page.injectJs, etc
(https://groups.google.com/forum/#!topic/slimerjs/8MVNd7BSZBQ)
restore latest core.async