Postgres Value In Array Javascript Concat Array