Replaced style with style after getting errors

Error:
```Implicit textOnly for `script` and `style` is deprecated.  Use
`script.` or `style.` instead.```