Now the AJAX is working perfectly :)