Postgres Value In Array Javascript Appendchild After Element