Updated index monitor.js