now works with shared webworkers