diff --git a/client/json-socket-connection.js b/client/json-socket-connection.js
index <HASH>..<HASH> 100644
--- a/client/json-socket-connection.js
+++ b/client/json-socket-connection.js
@@ -18,7 +18,7 @@ var JSONSocketConnection = W.Object.extend({
         W.extend(this, W.eventMixin);
         this.socketUrl = options.socketUrl;
         this._connectionDesired = false;
-        this.attemptReconnectionAfterMS = (typeof attemptReconnectionAfterMS !== 'undefined') ? options.attemptReconnectionAfterMS : 1000;
+        this.attemptReconnectionAfterMS = (typeof options.attemptReconnectionAfterMS !== 'undefined') ? options.attemptReconnectionAfterMS : 1000;
     },
     openSocketConnection : function () {
         this._connectionDesired = true;
Fixed JSONSocketConnection attemptReconnectionAfterMS undefined condition