JavaScript Implementations for Binary Search Tree