Add fuzzy search function to frontend