javascriptToEvaluateOnPageStart

The javascript to be evaluated when the webview starts loading a URL. This is useful for setting up the webview before it loads the URL.

Make sure this js code is wrapped in a function