code: function(threadId, callback) {
                  var uploadQ = [];
                  for (var i = 0; i < chatUploadQueue.length; i++) {
                      if (chatUploadQueue[i].threadId == threadId) {
                          uploadQ.push(chatUploadQueue[i]);
                      }
                  }
  
                  callback && callback(chatUploadQueue);
              }
docs: *****************************************************
  P R I V A T E   M E T H O D S            *
  *****************************************************