Serializer crash when node has no children
Serializer crash when node has no children

When node has no children `render()` invokes with `undefined` and cause to exception.
This check helps avoid it.
cheeriojs/dom-serializer,ramakrishnan/dom-serializer,feliper2k/dom-serializer,OverFlow636/dom-serializer