Fixes issue #47.

Fixed Chrome crash by using a object URL created from a Blob. Refactored to not encode the data (no longer necessary).