adding the support for our domain
add a basic support for ajax failures