js validation for activities (Status)