Quick fix to the tab nav js.