refactor grunt configuration