Update service-monitor.js