Update karma config file

This should fix compatibility with the current version of karma.