Bug fix in Gruntfile for validation on travis