Update bst.js

if the value is 0(which could be a index number or a degree number), all of the data under this node will be deleted
Merge pull request #3 from 281494498/patch-1

Very good catch, the usual JS equality cast fail. Thanks !