AJAX control application explanation