adding js nav