oops, ok. A lot of code duplication on index.html