AjaxDemo: Need to fix bugs for Part II