fixed error with Nav bar links update on jQuery post