Karma task options refactoring