Update lib/monitor.js

Fix accidental global.
Merge pull request #77 from coderunr/patch-1

Update lib/monitor.js