Avoid use of `window`
Use newer version of es6-promises (fix #144)
Merge pull request #146 from mozilla/web-workers

Web workers