typo in encodeURIComponent- fixes #004