Modified forked code to use an iframe to download for not html5 cases.