Added fix for non-html5 browsers to download (lua)