Update app.js

Need to return if MongoDB's ObjectID() burns due to bad document ID string.