Fix JS validation for message board