worked js for search on packaging page