Fixed doctype deprecated issue and loading script in foot file

Had a problem from cloning the repo and installing latest version of dependencies.
When running node server.js, it appeared to have some deprecated things.
And also the tab after the loading of header.js made an error so I correct it.