Updated the search to use innerHTML

innerText is not supported in firefox.