ajax call added in index page