index html swap