closed a div properly from footer.ejs to header.ejs