Push Key Value Into Array Javascript Append Function In Python