Make db.js easier to read.