Postgresql Javascript Array Contains Item Frame