Javascript Create Query String From Bytes Python