implementation of OT raw availability search using node.js