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.
only need the name if we're on 10.10
Of course, it would be helpful if it still compiled using older SDKs...
Merge pull request #18 from BohemianCoding/javascript-debugging-support

Javascript debugging support