swapping nav js libs