Js Add String To Array Python Methods