[fix] html5 compatibility