A quick example of using an ajax call with laravel.