Replace String In Array Javascript Appendchild Example