Changing all instances of JHtml::_('behavior.tooltip') to JHtml::_('bootstrap.tooltip'). Using class hasTooltip instead of hasTip.