Intelligent ctags-compatible code indexing for JavaScript