Updated Gruntfile

Changed some loop errors