Bug 1104139 - [Contacts] Refactor highlight so we can avoid using regexp (WIP)

Please check if textNode exits