changed geolocation method and updated Gruntfile.