Replaced BlobBuilder with Blob API

BlobBuilder is now deprecated so I have rewritten the output method tuse the Blob API. I also removed the $.browser sniffing as it was no longer necessary