Set actions to handled with AJAX