Backend doctype was not correctly set for html5