tried to fix db.js
fixing small bracket error