Update poolWorker.js