moved some message strings for js from the main_page to the site-wide js footer