Fix to copy all mappings, encodeURIComponent for setData
Merge pull request #32 from Calpicow/master

Fix to copy all mappings, encodeURIComponent for setData