clean up app.js and set dbpath to localhost