reverted weird app.js changes