Fix js error loading on Tooltip and popover page.