ajax for survey taking complete