Check, if brower is online to use geolocation