Begin worker.js definition