refactored karma dependency for CI