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.
Merge pull request #287 from archSeer/patch-1

Use _applyStyles instead of _applyAttrs when modifying the textarea