Read Richter on implementing Equals...
Refactored BsonJavaScript and added tests.