Call encodeURIComponent for search