Update Karma configuration.
Use CommonJS modularization on Karma.