Simplifying index.html and preparing for auto-add.