change require('mongodb').ObjectID() to new ObjectID()