inject a ScriptElement for webview.js

found a solution thanks to a different issue oppened by jmesserly that
provided a hint!