Update decision-tree.js

fix implicit global