put in a check to see if geolocation is supported