Update decision-tree.js

fix implicit global
Merge pull request #1 from benjamingr/patch-1

Fixing implicit global `root` in the predict method under the decision-tree prototype