Added JS to switch to archives