Fix for PhantomJS runner.