Update bootstrap-tree.js

node not being properly passed in to functions being called