If Not Empty Array Javascript Appendchild After Element