We only use GPLV3 around here. // FREEBIE
Instead of calling importScripts, which is prone to relative path issues, generate the worker script with everything it needs included.