Initial import

This is my first push of code to GitHub, made as a pull request for easier review
As best as I can tell, there isn't actually a way to determine the script URL from inside the worker. The scope seemed like a reasonable alternative.

I actually don't know which I would prefer if it turns out that either could be used.