Remove two unused JS functions
Rename the old proceed_send_ajax_form, and refactor its parameters