Add createElement(img) support, and can use be appendChild().
Merge document.createElement('img')