Fix to remove `window` dependency
Update build
Merge pull request #41 from tricknotes/remove-window-dependency

Remove window dependency