tweak to nav js