Make React work in webworker again

This is why we have tests :joy_cat: