Javascript Create Query String From Bytes