Update adapter.js

Squelches message from mongodb about not having w: set.