Finish changes to tag switcher JS.