We should change the AJAX call to create an iframe + form and POST to the endpoint, this will allow it to work on non-same-domain installs.