Repair app.js