Binary Tree ADT for browser and nodejs.