Javascript debugging support

Some minor tweaks to pass the script URL through and to set the global context name.

This, plus the addition of the com.apple.security.get-task-allow key to the host application's entitlements, is enough to enable attaching Safari to the javascript for debugging. In theory. On a good day. With a following wind...