refactoring karma.config