Issue #3: Factorisation of index.html