Switched to onejs for generation of bson.js for browser