A pure JavaScript clone for MongoDB