Remove usage of done() in db.js