index.html setup fixes firefox bug