Adding AJAX requests to GET and POST projects