more html5 fixes