cleaned up scripting, corrected `src` URLs in header and footer