Apply footer JS to all pages and load up front