JS header and footer

The header and footer now use JS to load from a file.
Renew session

After 10 seconds a super annoying popup asks if you want to extend the
session.
Merge branch 'javascript'