Added some javascript for search