Javascript Push Value Into Array If Not Exists Table Sql