corrects class in top-bar js