Migrated karma.conf.js to support karma >v0.10.0