replace escape with encodeURIComponent
Merge pull request #7 from sanderpick/master

replace escape with encodeURIComponent for POST data