after ajax for index