Add a dot after script tag

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