Create BBTree.js