btree for nodejs