detect global and local lexical identifiers from javascript source code