index.html; geolocation code from Mozilla dev forums