JavaScript encodeURIComponent() function example