refactor grunt config