Js Push Function To Array Python