JavaScript implementation of MongoDB