Create BitStream.js