Dynamic Header/Footer; JS cleanup

Added in javascript calls for the dynamic header and footer and removed
some un-needed javascript from the actions.js file.