remove arraybuffer-slice dependency