updated doctype in templates to force standards mode