change karma config as module.exports