simplifying index.html