Push If Not In Array Javascript Concatenate Variables Python