support both Chrome and PhantomJS karma runners