Minor refactor in main.js
Add forgotten header.js
Add first version of infinite-scrolling