deprecated worker.js and server.js