Update karma configuration to the new api for version 0.12