Add blanket.js for code coverage.

Update tests so that they don't throw when run in a browser.
why was this expect change?