#JS: Data for advanced_search (categories and ingredients) are gotten from database