added HTML geolocation functionality