use encodeURIComponent