Added search JS functions.
Add search JS methods.