function updateTabs() {
					// handle unknown tab
					if (this._TAB_KEYS.indexOf(this._sNewTab) === -1) {
						this._sNewTab = "samples";
					}

					// handle invisible tab
					if (!oData.show[this._sNewTab]) {
						this._sNewTab = "samples";
					}

					this._switchPageTab();

					setTimeout(function () {
						this._oObjectPage.setBusy(false);
					}.bind(this), 0);
				}
This function wraps a text in a span tag so that it can be represented in an HTML control.
@param {string} sText text to be wrapped and formatted
@returns {string} formatted and wrapped text
@private