Update app.js

restored to original setup using app.configure and path