Fix JHint errors and Grunt config