Karma and gulpfile updates