Making this work as a SPA with async calls for geolocation and our api layer.