change index page dom