Update footer.php

Moved scripts to footer scripts and replaced them with a call