make download cross-browser