Fix regression in add and append in IE after revision 3463