restored app.js