add ajax to question class, not currently functional