use JSON.stringify instead to support chrome and safari

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/uneval breaks chrome and safari
Merge pull request #1 from jijojv/patch-1

Broken in Chrome and Safari