Added JSON polyfill for IE compatibility.