JavaScript BSON implementation.