Use web workers to compute SHA256

A new pull requests with local branches for #473. Address/fixes #186.
Hm, you are setting `@isDefined` to true? Should be probably false here?