Work as a web worker