Fixed several jQuery requests using 'failure' instead of 'error'