Adapted Karma configuration in karma.conf.js, to follow the latest updated syntax.