Threading for nodejs and the browser built on web workers