Undefined global object for webworker fix

Web workers doesn't have an `window` global object and `window.Faker` aren't creating during initialization.
This fix provides an ability to use Faker.js in separate (from UI) thread through web workers.