updating content and navbar js