Added javascript validations for blocked reasons