Javascript Push Array Into Array If Not Exists Sql