fix bug in JS constructor of Byte