I'm confused. That's the original design, but it's not working because of CORS. To enable CORS in the data process, we need to get rid of all references to localStorage and unsafeWindow. The other PR tries to eliminate unsafeWindow but that isn't sufficient.

Since the upload happens every 5 minutes, the amount of data copied should be pretty small.