Create monitor.js