Refactored validFilter to reduce indentions and added a newline to cssValidation.js