Added template:footer tag to include javascripts after the theme header has already been rendered