fix karma config and package.json