Some implementation in Node to support continued work on tbst