app.js and let fix

configure for development before configure for default
let is not discoverable by which (WTF?!?)