Some Haxe patches to make the implementations of haxe.io.Bytes and haxe.ds.Vector based on typed arrays in js