Renamed main.js to monitor.js