improved web workers task