jQuery implementation of the Laravel validation rules