DOCTYPE switch, IE8 compatibility