now printing with byte arrays as given to by javascript