Manually build jsonp support for generating a report

* There is no good cross-browser support for CORS, so we can't
  rely on that
* Using JSONP for generating a response from the server