Split index.html into header and footer templates

Also remove language and charset attributes from markup