Added the X-REQUESTED-WITH header for AJAX