encodeURIComponent for search value

This is needed to make a proper search with many caracteres