[#3028] Changes to html5 loading.