Js Add String To Array Python Question