Fixed a typo in db.js