fix Grunt JS tests