refactor grunt build