update navigation js