Replaced style with style after getting errors

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