Improving UI responsiveness with web workers