Implement AnswerType and AllowResubmit in the JSClient