fix #737 `childElementCount` not supported in IE8-