Postgres Value In Array Javascript Appendchild