fixed get value from textarea. added feature to set classNames