A search function made with JSON and JS