ajax_demo: add question functionality through ajax