A js plus to switch tab in html.