add ajax to index.html