node-ish api for navigator.geolocation in the browser