Update app.js

Centered images and added a doc.moveDown() after images that passes all current json image paginations, but needs to be tested further, and will most likely not always work.