Dynamically set active tab with jquery