concat scripts and serve them all from scripts.js
fix chapter index, add resources chapter