Javascript: Add class to required input from jQuery validate