First pass at adding a JS based geolocator.