Final code for a Javascript helper class for cross domain AJAX requests, specifically integrates XDomainRequest with an iframe gateway for HTTP to HTTPS requests.