Split String In Array Javascript Appendchild