Called from __pthread_create_js to reuse an existing Web Worker or spawn a new one
__pthread_create_js