inline scripts moved to page-specific js files