nav item style controlled by javascript