changing text in the content from the sidebar

Javascript function