generate header and footer in javascript; add html5 shim; fix footer margin; fix bars for h3s; make min-height smarter