update to the worker.js