Replaces submit new post XHR to AJAX.