Fix insertAfter on a NodeList

This was depending on els having a forEach method. This is not the case if List was created from a NodeList.