Add String In Array Javascript Iterations In Python