add BTS in tree.js