Fixed some issues with Blob.js running on PhantomJS

Fixed some issues with Blob.js running on PhantomJS, that is, a quite old version of WebKit.