Mongodb Development class for Javascript