Allowing moment-timezone to load in a web worker thread

I recently tried to use moment-timezone in a web worker thread and found out it never got defined, because window is undefined in a web worker thread. To fix this I've added a case to allow moment-timezone to load in a web worker thread. I've tested this in both regular browser loading and in the web worker thread. I have not tested it with Node.js.