Created the search function, got rid of test JSON

The search function makes an AJAX call to the server, and upon success,
will render the results into the DOM using renderResults. Tested and
works.