monitor.js fixed