title: import jquery.js in service-workers
body: <p>How can I import jquery in sw.js (<a href="https://github.com/mdn/sw-test/blob/gh-pages/sw.js" rel="nofollow">https://github.com/mdn/sw-test/blob/gh-pages/sw.js</a>) to trigger event? I tried to use importScripts('path to jquery.js'), but I had the problem : "window isn't defined". </p>