Fixing variable typo for mime. Moving "X-Requested-With" into ajaxSettings default headers.