karma updated to work with PhantomJS