Renamed db.js to work on linux