When the cursor is placed on a variable or a function, all other identical references will be highlighted, particularly its declaration.
For scope analysis and reference lookup, two libraries escope and esrefactor are being used.
Esprima is created and maintained by Ariya Hidayat.