Postgresql Create Array From String Javascript Programmer