separated nav js