Initial implementation of AJAX approval.