upgraded bytebuffer to fix browserify and jasmine unit testing