Prevent duplicate loading of nav library