Update validator.js

Added maxChecked validation rule.