removed tree from js