Javascript implementation of Binary Search Tree for integers.