refactor(karma_config): update karma config

update karma config to latest working version and improve readability.