Tried doing a worker.update(...), worker.completeTask(...) and always getting a CORS error from localhost.