fix sharedworker postMessage