You should try Axios and API Resources for clean, scalable AJAX in Laravel.
Livewire is also good for reducing JavaScript on dynamic UIs.