Pass through the script URL, and set the global context name.
This is in order to support javascript debugging via Safari on 10.10.
Avoid crashing pre-10.10, when function isn't available.
Merge branch 'javascript-debugging-support'