implemented decycle for JSON.stringify that should work in IE