you can simplify this:

appCollection.findOne({'_id' : appId}, callback);