convert worker.js to worker.coffee