Add environment variable to activate 'monitor'

Change-Id: Ic4c93f4cd699f999ebe925e4dd25cb9c0f423758
diff --git a/server/src/jamid/jamid.ts b/server/src/jamid/jamid.ts
index 9c1258d..a868afe 100644
--- a/server/src/jamid/jamid.ts
+++ b/server/src/jamid/jamid.ts
@@ -190,6 +190,10 @@
 
     this.setupSignalHandlers();
 
+    if (process.env.JAMI_WEB_MONITOR === 'true') {
+      this.jamiSwig.monitor(true);
+    }
+
     // RxJS Subjects are used as signal handlers for the following reasons:
     // 1. You cannot change event handlers after calling jamiSwig.init()
     // 2. You cannot specify multiple handlers for the same event