JS Binary Trees