Do not show attributes contaains empty string
Add createElementNS

createElement make tags to lowercase, createElementNS does not,
so it follows Chrome:

> document.createElement("Div").outerHTML
< "<div></div>"
> document.createElementNS(null, "Div").outerHTML
< "<Div></Div>"