getTabUpdateJS prepmenu tab and discovery menu tab updates
getTabUpdateJS()
the JS for tab updates
x<- getTabUpdateJS()