Move the nav to js file to dynamically generate the nav