Remove inline script warnings.

Fixes #4230