Update BehaviorTree.js