fixes to grunt reported syntax issues