Speed up nextTick in web workers