Add Items Into An Array Javascript Append Method In Python