code: function getRefs(fileInfo, offset) {
          ScopeManager.postMessage({
              type: MessageIds.TERN_REFS,
              fileInfo: fileInfo,
              offset: offset
          });
  
          return ScopeManager.addPendingRequest(fileInfo.name, offset, MessageIds.TERN_REFS);
      }
docs: Post message to tern node domain that will request tern server to find refs