Update db.js

changed to generic DB url