Fix $.searchScripts .

Return null if pattern not found.
sh.st

Fix string not found error.

close #524