A binary search tree implemented in C++ for node.js