modifying html for search