ajax for  questionare code