Setup karma for Travis CI