Changed db.js for heroku deployment
Changed db.js for localhost deployment