Renamed partial() to insertEl() and changed it to append the inner element if no match is found