Added ajax to index page