replaceChild replaced with createElement