Added custom JS validation for region code.