added the stub for html_parser getNameIndex function