a js validation module inspired by laravel validation.