js to swap classes in the menu (active / '')