diff --git a/commonjs/user/fetch-session-token.js b/commonjs/user/fetch-session-token.js
index <HASH>..<HASH> 100644
--- a/commonjs/user/fetch-session-token.js
+++ b/commonjs/user/fetch-session-token.js
@@ -1,21 +1,21 @@
 'use strict';
 
 var $ = require('jQuery');
+var sessionToken;
 
 function fetchSessionToken(cb, scope) {
     var dfd = $.Deferred();
 
-    if (window.Kwf && window.Kwf.sessionToken) {
-        dfd.resolve(window.Kwf.sessionToken);
-        if (cb) cb.call(scope || window, window.Kwf.sessionToken);
+    if (sessionToken) {
+        dfd.resolve(sessionToken);
+        if (cb) cb.call(scope || window, sessionToken);
     } else {
         $.ajax({
             method: "POST",
             url: "/kwf/user/login/json-get-session-token",
             dataType: "json"
         }).done(function(data) {
-            if (!window.Kwf) window.Kwf = {};
-            window.Kwf.sessionToken = data.sessionToken;
+            sessionToken = data.sessionToken;
             dfd.resolve(data.sessionToken);
             if (cb) cb.call(scope || window, data.sessionToken);
         }).fail(function(jqXHR, textStatus, errorThrown) {
do not set session token globally into window, added it locally