
if (typeof console != 'undefined' && DEBUG_JS) {
	Ajax.Responders.register({
		onFailure : function(xhr) {
			console.error("AJAX FAILURE", xhr.url, xhr, e);
		},
		onException : function(xhr, e) {
			console.error("AJAX EXCEPTION", xhr.url, xhr, e);
		}
	});
}
