Moved global footer into bottom.php to fix the weird global.js thing