Fixed issue with requiring footer scripts.  now scripts are in the header