Validation map
javascript