Added footer, header and javascript interactivity to show and hide table contents