modify to meet the criteria of grunt build