fixed app.js which had been broken