client.js bugfix (fetch on mongodb cursor)