Fix IDBFS for webworkers