ajax for answering questions