add VersionSwitcher

is it better in JS