Postgresql Create Array From String Javascript Program To Add