switch to using web workers to generate the chunks