the idea is to monkey patch the fetch() method to use a web worker. it should mostly behave the same way but make the request and parse the json off the main thread.
fetch()
the code for this is on github.