Update karma.js

Line didn't pass linting because it was too long