Implement Binary Search Tree Javascript Tutorial