changed js and css of nav page