added cursor to mongo_client.js