update karma configuration for latest version compatibility