Python Define Byte Array Append Js