Node.js worker for medic-webapp