Update js in monitor.html