updated nav js