Thanks to visit codestin.com
Credit goes to esprima.org

Identifier Highlight to spot everything

Ready.

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.