- add to readme

- use escape instead of encodeURIComponent
- update tests