code: function updateTsnDetails(tsn) {
  		$("#tsnDetails").addClass("busy");
  		// $("#tsnDetails").text("Loading TSN " + tsn + "...");
  		$.bbq.pushState({ tsn: tsn });
  
  		_callItis("getFullRecordFromTSN", {
  			tsn: tsn,
  		}).done(function(result) {
  			console.log("updateTsnDetails", result);
  			$("#tsnDetails")
  				.html(tmplDetails(result))
  				.removeClass("busy");
  
  			updateControls();
  		});
  	}
docs: function countMatches(query) { $("#tsnDetails").text("Loading TSN " + tsn + "..."); _callItis("getAnyMatchCount", { srchKey: query }).done(function(result){ console.log("updateTsnDetails", result); $("#tsnDetails").html(tmplDetails(result)); updateControls(); }); }