ajax_demo: added AJAX behavior to glossary add term
ajax_demo: added ajax behaviour to edit glossary term