Fixed syntax errors in mongo.js