use JS for Nav