diff --git a/lib/rocket-chat.js b/lib/rocket-chat.js
index <HASH>..<HASH> 100644
--- a/lib/rocket-chat.js
+++ b/lib/rocket-chat.js
@@ -12,9 +12,7 @@
  */
 
 
-var url = require("url"),
-    logger = console,
-    RocketChatClient = require("./rocketChat").RocketChatClient;
+var RocketChatClient = require("./rocketChat").RocketChatClient;
 
 /**
  * Rocket Chat Api constructor
@@ -59,7 +57,7 @@ var RocketChatApi = function (protocol, host, port, username, password, onConnec
                     api: body.info.version,
                     rocketchat: body.info.version
                 }
-            })
+            });
         });
     };
 
@@ -124,7 +122,7 @@ var RocketChatApi = function (protocol, host, port, username, password, onConnec
      */
     this.setTopic = function(roomId, topic, callback) {
         this.rocketChatClient.channels.setTopic(roomId, topic, callback);
-    }
+    };
 
     /**
      * leave a room with roomID
clean the rocket-chat.js