Javascript Array Append Array Python