Beautify html rendering and fix footer