Updates karma configuration to test travisCI with PhantomJS instead of Chrome.