Update monitor.js