(function (jsutility) {
  var logger = jsutility.logger = function(options) {
    this.debug = true;
    this.title = "";
  }
  
  logger.prototype.log = function(msg) {
    if (this.debug) {
      var d = new Date();
      var time = d.getHours() + ":" + d.getMinutes() + ":" + d.getSeconds();
      if (typeof copy != "undefined") {
        copy(msg);
      }
      if (typeof console != "undefined") {
        console.log(this.title + time + " " + msg);
      }
    }
  }
})(window.jsutility || (window.jsutility = {}));

@@ -1,59 +1,31 @@
-(function (jsutility) %7B%0A  var logger = jsutility.logger
+var logger = module.exports
  = f
@@ -43,18 +43,16 @@
 ions) %7B%0A
-  
   this.d
@@ -64,18 +64,16 @@
 = true;%0A
-  
   this.t
@@ -87,17 +87,11 @@
 %22%22;%0A
-  %7D%0A  %0A  
+%7D%0A%0A
 logg
@@ -125,18 +125,16 @@
 (msg) %7B%0A
-  
   if (th
@@ -141,26 +141,24 @@
 is.debug) %7B%0A
-  
     var d = 
@@ -165,26 +165,24 @@
 new Date();%0A
-  
     var time
@@ -244,18 +244,16 @@
 onds();%0A
-  
     if (
@@ -288,18 +288,16 @@
 %7B%0A      
-  
 copy(msg
@@ -303,22 +303,18 @@
 g);%0A    
-  %7D%0A  
+%7D%0A
     if (
@@ -342,26 +342,24 @@
 defined%22) %7B%0A
-  
       consol
@@ -400,16 +400,8 @@
 g);%0A
-      %7D%0A
     
@@ -411,52 +411,5 @@
  %7D%0A%7D
-)(window.jsutility %7C%7C (window.jsutility = %7B%7D));
 %0A

Update logger.js