Postgres Value In Array Javascript Append String