Updated javascript to use AjaxHelper wrapper for AJAX calls