Moving scripts to bottom of page.tpl.php.