Update activity monitor.js