laravel ajax boilerplate