Formula For Height Of Balanced Tree Js