a binary search tree in javascript