Updates Karma config with the new config file format (module.exports = ...)