added client side validations for comment box