change nav-bar style, js works fine