Clean up templates, html5 validation at galleria templates.