added tooltip and popover scripts to layouts