AJAX post send, bugfixes