added js for search and submit product