encodeURIComponent to escape URL param