Updated HoeffdingTree JS API interface