remove unused reference to document so you can use this lib in a worker
Merge pull request #11 from nickdesaulniers/removeDoc

remove unused reference to document so you can use this lib in a worker