web worker creation done in factory.js