Fix IllegalStateException in IE11 in Ajax extension.