Polyfill for Blob to use in tests in PhantomJS