add build control to the grunt template