Implementation of a Binary Search Tree in Javascript.