another html5 workaround