copied app.js to documents.js