fix buffer test in browsers
0.0.1