Use _applyStyles instead of _applyAttrs when modifying the textarea

Fixes a bug where the textarea style was set to "[object Object]" (a textual representation of the JSON) instead of the actual styles.