try-catch for browsers without geolocation