support for testem
restore support for running tests with mocha-phantomjs or in the plain old browser