A small Javascript to handle Binary Trees.