_ is undefined in a webworker file
<p>The _ refers to lodash which I have as a file included into the index.html. No other errors referring to lodash occur except when loading and using the file that the worker function calls. </p>

<p><code>&lt;script src="bower_components/lodash/lodash.js"&gt;&lt;/script&gt;</code></p>

<p>I am not sure where to start looking. This is the line where the error occurs : <code>var lodash = _;</code></p>

<p>And it is initialized as such: <code>var worker = new Worker('myWorker.js');</code></p>

<p>I am sure that the worker file is uploaded because it isn't included in the html at all. </p>