Fix IE version of CollectionView._replaceHTML

It was changed in main implementation but not in IE version, which caused breakage in IE. Long term we need to get rid of these almost identical implementations.