code: function() {
                  /**
                   * Initialize Cache Databases
                   */
                  startCacheDatabases();
  
                  if (grantDeviceIdFromSSO) {
                      var getDeviceIdWithTokenTime = new Date().getTime();
                      getDeviceIdWithToken(function(retrievedDeviceId) {
  
                          if (actualTimingLog) {
                              Utility.chatStepLogger('Get Device ID ', new Date().getTime() - getDeviceIdWithTokenTime);
                          }
  
                          deviceId = retrievedDeviceId;
  
                          initAsync();
                      });
                  }
                  else {
                      initAsync();
                  }
              }
docs: *****************************************************
  P R I V A T E   M E T H O D S            *
  *****************************************************