Fix search in js issue

Fix search in js issue