Move newsbox function call to dashboard_script.php