added grunt and karma configurations