Tree is not defined error

I am getting ‘tree is not defined error’ error on tree._globalIdStorageFind line.
This error comes only when i add tree.enableMercyDrag(true). If i comment this line then everything works fine.
When i searched for tree._globalIdStorageFind word, i found that this line is the part of “DHTMLX.Tree.dll”, can you please help me?

Here is the answer viewtopic.php?f=3&t=67&p=50894#p50894