#475: form_validator.js, add 'class rule' wrapper