CORS Test Helper The First Ajax call forces an HTTP OPTIONS call, the second one does a simple cross domain call.