What's wrong with `window.JSON` here? `window` is referring to `this`. Which you can see in the `_footer.js` ending closure. Wouldn't that context be correct in you case?