Create footerscripts.php

Move footer scripts to a separate file, which will be called in the footer