add HTML 5 geolocation detection support