Convert server-side validation to client-side on your Laravel app