Fix parameters pass to emperavi js

Splitted options for JS and HTML textarea. Otherwise it impossible to pass some params to js.
For example
'options'=> [
                'uploadFields' => [
                    'xxx' => 'yyy'
                ]
]
crash an app