Added ajax to index.html