added nav html code string to javascript file