events_monitor and server.js updated