Fixes AJAX form sending