Move custom exercise search function to API, update corresponding JS
Move custom ingredient search function to API, update corresponding JS