rm .js files and modified db.js