monkey patch d3 xhr methods when loading gists to avoid cross origin issues