Update js search algorithm to include more results