Fix ByteArray initial size on HTML5