Bug 1100930 - [Contacts] Search for contacts with quotes is not working

decodeURIComponent decodes URL encoded characters like %20 for whitespace and so on. This function decodes HTML entities declared between & and ;, specifically decodes XML predefined entities which are encoded automatically when using innerHTML.