move navbar to javascript and make it included