var jqxhr = $.getJSON( "example.json", {
tags: "mount rainier",
tagmode: "any",
format: "json"
})
.done(function() {
console.log( "success" );
})
.fail(function() {
console.log( "error" );
})
.always(function() {
console.log( "complete" );
});