begin worker.js