Implementing search.js
Fixing search.js input change
search.js fixed missing link with the backend