Added some AJAX at js